#include <oratypes.h>

void checkerr0(void *handle,ub4 htype,sword status);

#define CheckErr(ErrHandlePointer,Status) checkerr0((ErrHandlePointer),OCI_HTYPE_ERROR,Status)
#define CheckEnv(ErrHandlePointer,Status) checkerr0((ErrHandlePointer),OCI_HTYPE_ENV,Status)

void ReportOCIError( const CString& strMsgOut, const CString& strFile, int nLine, const CString& strFunction );